//
//  XS_MineInfoIndustryItemCell.swift
//  XueDao
//
//  Created by Mac on 2020/12/26.
//

import UIKit

class XS_MineInfoIndustryItemCell: UICollectionViewCell {

    @IBOutlet weak var titleLabel: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        
    }
    
    class func getCellWidth(title:String) -> CGFloat{
        return title.size(withFont: .systemFont(ofSize: 14)).width + 24
    }

}
